package com.xinzhi.savingpot.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api("测试")
@RequestMapping("/test")
public class TestContorller {
    @GetMapping("/test1")
    @ApiOperation("测试一")
    public  String test1(String a){
        System.out.println(a+"测试成功");
        return a;
    }
}
